package com.linkai.io;

import java.util.Scanner;

/**
 * @Description: OJ在线编程常见输入输出练习
 *                https://www.nowcoder.com/test/question/93bc96f6d19f4795a4b893ee16e97654
 * @Author: 林凯
 * @Date: 2021/10/17 16:23
 */
public class T02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int t = sc.nextInt();
        int[] result = new int[t];
        int a, b = 0;
        for (int i = 0; i < t; i++) {
            a = sc.nextInt();
            b = sc.nextInt();
            result[i] = a + b;
        }
        for (int i = 0; i < t; i++) {
            System.out.println(result[i]);
        }
    }
}
